package com.wyl.auth.captcha;

/**
 * @Description
 * @Author WuYiLong
 * @Date 2025/4/12 13:40
 */
public interface CaptchaService {

    /**
     * 生成验证码
     * @return
     */
    String generateCaptcha();

    /**'
     * 验证验证码
     * @param code
     * @return
     */
    boolean validateCaptcha(String code);
}